Added GtkTreeViewColumn:cell-area construct-only property.
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Wed, 1 Dec 2010 14:26:25 +0000 (23:26 +0900)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sat, 4 Dec 2010 06:49:46 +0000 (15:49 +0900)
commitacc4dd291287b6217fdee5b0e56e18bfb3899322
tree9645b6eb5252889762a7204a032e8dcef72fb344
parent9c6a801f5252c07ca4afbae85f9dde6c1abfcf78
Added GtkTreeViewColumn:cell-area construct-only property.

Allow feeding treeviewcolumn a custom cell-area (or not a custom one,
but allow sharing the cell-area with say, the combo-box area).

This patch also:

 - Fixes signal connections to the area (now they do eventually get
   disconnected at dispose time, they are handled regardless if a
   treeview is set but execute safely, at least there is only one
   connection/disconnection).

 - Fixes refcounting on the cell_area (GtkCellArea is GInitiallyUnowned).

 - Adds a constructor() in order to build the cell-area if one has
   not been provided by the caller before hand at g_object_new()
   construct time.
gtk/gtktreeviewcolumn.c